import LayOut from '@/layOut/index'
const keyboard = () => import(/* webpackChunkName: "charts" */ '@/pages/charts/keyboard/keyboard.vue')
const line = () => import(/* webpackChunkName: "charts" */ '@/pages/charts/line/line.vue')
const mixChart = () => import(/* webpackChunkName: "charts" */ '@/pages/charts/mixChart/mixChart.vue')
const charts={
    path: '/charts',
    component: LayOut,
    redirect: '/charts/keyboard',
    name:'charts',
    meta:{
      roles:[1,2]
    },
    children:[
      {
        path: 'keyboard',
        component:keyboard,
        name: 'keyboard',
        meta: { 
          title: 'keyboard' ,
          roles:[1,2]
        },
      },
      {
        path: 'line',
        component:line,
        name:'line',
        meta: { 
          title: 'line' ,
          roles:[1,2]
        },
      },
      {
        path: 'mixChart',
        component:mixChart,
        name:'mixChart',
        meta: { 
          title: 'mixChart' ,
          roles:[1,2]
        },
        
      },
    ]
  }
export default charts